<div class="panel panel-default m-n">
    <div class="panel-heading">标签属性参数编辑</div>
    <div class="panel-body">
        <form class="bs-example form-horizontal ng-pristine ng-valid">
            <div class="form-group padder-md m-b-sm">
                <label>属性参数名称</label>
                <input type="text" class="form-control" placeholder="输入要添加的属性参数名称" ng-model="labelService.label.name">
            </div>
            <div class="form-group padder-md m-b-sm">
                <label>归属系统分类</label>
                <ui-select multiple
                           ng-model="labelService.systemTypesArr"
                           theme="bootstrap"
                           ng-disabled="disabled"
                           ng-click="changeSystemType($select.selected)"
                        >
                    <ui-select-match placeholder="选择系统分类">{{$item.fullName}}</ui-select-match>
                    <ui-select-choices repeat="item in systemTypes track by $index | filter: $select.search"
                                       refresh="refreshAddresses($select.search)"
                                       refresh-delay="0">
                        <div ng-bind-html="item.fullName | highlight: $select.search"></div>
                    </ui-select-choices>
                </ui-select>
            </div>
            <div class="form-group">
                <div class="col-lg-12 text-right padder-md">
                    <button type="submit" class="btn btn-sm btn-info" ng-click="editLabel()">确认</button>
                    <button type="submit" class="btn btn-sm btn-default" ng-click="cancel()">取消</button>
                </div>
            </div>
        </form>
    </div>
</div>
<loading ng-if="!allowToEditLabel"></loading>
